package com.rd.student.jiaji.class4.suyan.zrrd.day11;

public class Triangle extends Shape{
    private double a;
    private  double b;
    private  double c;
    public Triangle(double a,double b,double c){
        this.a=a;
        this.b=b;
        this.c=c;

    }
    @Override
    public double callPerimeter() {
        return a+b+c;
    }
}
